package com.hy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hy.admin.pojo.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
* @author Lenovo
* @description 针对表【sys_menu(菜单表)】的数据库操作Mapper
* @createDate 2025-03-04 18:50:51
* @Entity com.hy.admin.pojo.SysMenu
*/
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    // 根据用户id查询菜单(动态菜单)
    List<SysMenu> selectListByUserId(Long userId);

}




